package com.itheima.service;

import com.itheima.pojo.ClazzCountOption;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {
    PageResult<Student> queryStudents(String name, Integer degree, Integer clazzId, Integer page, Integer pageSize);

    void deleteStudent(List<Integer> ids);

    void insertStudent(Student student);

    Student queryStudentById(Integer id);

    void updateStudent(Student student);

    void updateStudentViolation(Integer id, Short score);

    List<Map<String, Object>> calcStudentDegreeData();

    ClazzCountOption calcStudentDegreeData2();
}
